<?php

include_once('../../php/postgre.php');
$idi = $_GET['idi'];
if (is_numeric($idi)) {  
    $dt = get_data("Select * from spm_indikator where id_indikator = '$idi'");
    $pl = get_data("Select * FROM spm_jenis_pelayanan where id_pelayanan =".$dt['id_pelayanan']);
    $th = get_data("Select * FROM spm_thn_angg where id_thn_angg =".$pl['id_thn_angg']);
	echo $dt['nilai_spm']."__".$th['thn_angg']."__".$dt['tahun_batas_capaian']."__".$dt['nama_kompind_pem']."__".$dt['nama_kompind_pen']."__".$dt['nilai_spm'];
}
?>